import 'package:flutter/material.dart';

import '../../model/aiModels.dart';
import '../views/aiModelItem.dart';

class LastPage extends StatefulWidget {
  const LastPage({Key? key}) : super(key: key);

  @override
  State<LastPage> createState() => _LastPageState();
}

class _LastPageState extends State<LastPage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Container(
        decoration: BoxDecoration(color: Colors.white),
        child: ListView.builder(
          itemBuilder: (ctx, index) {
            AiModel model = aiList[index];
            return AiModelItem(model);
          },
          itemCount: aiList.length,
        ),
      ),
    );
  }
}
